<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>

  
  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>ASP.Net Development</title>
  

  
  
  <meta name="id" content="64e3dc97-5125-541e-9e84-7f9303e95f04">

  
  <meta name="revisionNumber" content="1"></head><body>

<div style="border: 3pt solid rgb(219, 229, 241); padding: 0in; background: rgb(219, 229, 241) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<h2><a name="_Toc235247788">Developing Facebook Applications using ASP.Net<br>
</a></h2>


</div>





<p style="font-family: Helvetica,Arial,sans-serif;" class="MsoNormal"><br>
<span style="">There are several
different approaches that you can take for developing a facebook web
application.<span style="">&nbsp; </span>We will cover several of
those approaches in the upcoming sections.<span style="">&nbsp;
</span>But, the first key is deciding what type of application you want.<o:p></o:p></span></p>


<ol style="margin-top: 0in; font-family: Helvetica,Arial,sans-serif;" start="1" type="1">
<li class="MsoNormal" style="">
    <p><span style="font-weight: bold;">Canvas Application</span> &#8211; These
     are web applications that run completely integrated with the facebook
     platform.<span style="">&nbsp; </span>You application will feel
     like it is actually part of facebook.<span style="">&nbsp;
     </span>Users will use your application without ever leaving facebook.<span style="">&nbsp; </span>There are two approaches to writing
     facebook canvas applications, you can read this to help you decide.<span style="">&nbsp; </span><a href="http://wiki.developers.facebook.com/index.php/Choosing_between_an_FBML_or_IFrame_Application">http://wiki.developers.facebook.com/index.php/Choosing_between_an_FBML_or_IFrame_Application</a></p>
</li><ol style="margin-top: 0in;" start="1" type="a"><li class="MsoNormal" style="">
      <p><span style="font-weight: bold;">FBML</span>- Facebook Markup
      Language &#8211; This is a model where you provide a url for facebook to call
      and return formatted FBML that facebook will then render on your
      behalf.<span style="">&nbsp; </span>This is the easiest way to
      get a very integrated experience and to take advantage of a lot of the
      facebook user interface items that your users are used to using.</p>
</li><li class="MsoNormal" style="">
      <p><span style="font-weight: bold;">IFrame</span> &#8211; This is a model
      where facebook will host an iframe pointing at pages that you host on
      your own servers.<span style="">&nbsp; </span>Facebook will
      provide you some context on who the facebook user is.<span style="">&nbsp; </span>This is a good model if you really want
      to write your app similar to other web apps you might have written.<span style="">&nbsp; </span>You do have the ability to still
      leverage some FBML using XFBML <a href="http://wiki.developers.facebook.com/index.php/XFBML">http://wiki.developers.facebook.com/index.php/XFBML</a>.</p>
</li></ol><li class="MsoNormal" style="">
    <p><span style="font-weight: bold;">Facebook Connect</span> &#8211; If you
     don&#8217;t want to have a canvas application, but you want to leverage facebook
     data or provide other integration with a user&#8217;s facebook account from a
     stand-alone web application you should look at facebook connect.<span style="">&nbsp; </span><a href="http://wiki.developers.facebook.com/index.php/Facebook_Connect">http://wiki.developers.facebook.com/index.php/Facebook_Connect</a>.<span style="">&nbsp; </span>Facebook connect provides a mechanism
     that you can leverage facebook authentication within your site and also leverage
     new forms of distributing content from your site to your user&#8217;s friends
     and facebook profile.</p>
</li><li class="MsoNormal" style="">
    <p><span style="font-weight: bold;">Standalone Web Application</span>
     &#8211; If you have a web application and you just want to use the facebook apis
     to provide some integration there is support.<span style="">&nbsp; </span>It is recommended that you strongly
     consider facebook connect instead, but a stand alone web application not
     using facebook is supported.</p>
</li>
</ol>


</body></html>